﻿@model ScmSafetyassessmentViewModel
@{
    Layout = null;
    ViewBag.Title = "安全考核分项得分查看";
}
<div style="float: left; display: block; margin: 10px; overflow: auto; width: 880px; height: 405px; border: solid 1px #CCC; line-height: 21px; background: #FFF;text-align:center;">
        <table class="table" width="100%" layouth="130" nowraptd="false">
            <thead>
                <tr>
                    <th width="30">序号</th>
                    <th>类别</th>
                    <th>考核项目</th>
                    <th width="40">总分</th>
                    <th width="100">扣分</th>
                    <th width="100">得分</th>
                    <th>扣分原因</th>
                </tr>
            </thead>
            <tbody>
                @for (int index = 0; index < Model.TheAssessmentscoreList.Count; index++)
                {
                    string trid = "tr_TheAssessmentscoreList_" + index;
                    string aid = "a_TheAssessmentscoreList_" + index;
                    if (Model.TheAssessmentscoreList[index].As_UnitInclude)
                    {
                    <tr id="@trid">
                        <td>@Model.TheAssessmentscoreList[index].Ai_Order</td>
                        <td>@Model.TheAssessmentscoreList[index].Scd_Name</td>
                        <td>@Model.TheAssessmentscoreList[index].Ai_Project</td>
                        <td>@Model.TheAssessmentscoreList[index].Ai_AllScore</td>
                        <td>@Model.TheAssessmentscoreList[index].As_Deduct</td>
                        <td>@Model.TheAssessmentscoreList[index].As_Score</td>
                        <td>@Model.TheAssessmentscoreList[index].As_DeductReason</td>
                    </tr>
                    }
                }
            </tbody>
        </table>
        <div class="pageFormContent">
            <dl>
                <dt>附件：</dt>
                <dd>
                     <input id="AssistID" name="AssistID" value="@ViewBag.AssisId" type="hidden"/>

                        <a href='/Common/UploaderFile/Uploader/?id=ZDFileID' width="710" height="460" rel="rel_WorkFlow_WorksMeasure_Attach" mask="true" target="dialog" title="附件管理">
                                    <img src="/Content/themes/default/images/fj.gif" alt="查看附件" id='ZDFileID' 
                                   uploaderoption="{MoudleID:@ViewBag.MoudleID,'ToSelectIDs':[@ViewBag.FileIds],'ToDeleteIDs':[@ViewBag.DeleteIds],BizDeleteURL:'/SafetyConstruction/Base/Delete/',BizSaveUrl:'/SafetyConstruction/Base/BatchAdd/',BizType:'SafeAssessment_Rules',BizID:'@ViewBag.AssisId','dirWhere':'@ViewBag.DirWhere'}" />
                                </a>
                </dd>
            </dl>
        </div>
    </div>
    <div class="formBar">
        <ul>
            <li>
                <button type="button" class="close btn btn-default btn-sm">关闭</button>
            </li>
        </ul>
    </div>
